export default {
  // 第一个参数是state公用数据，第二个是commit方法传递过来的数据
  changeCity (state, city) {
    state.city = city
    try {
      localStorage.city = city
    } catch (e) {}
  }
}
